public class InterfaceExtends
{
	public static void main(String[] args)
	{
	}

	// Inheritance
	private class FootballGame extends Competition {
	  //...
	}

	// Interface definition
	interface IAlarmClock {
	  //...
	}

	// Extending an interface 
	interface IAlarmClock extends IClock {
	  //...
	}

	// Interface implementation
	class WristWatch implements IAlarmClock, ITimer {
	   //...
	}
}